Skip to content

Commit

Permalink
[maven] Introduce a class for the skill containers and update the ski…
Browse files Browse the repository at this point in the history
…ll lifecycle.

see #975
see #976

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Mar 6, 2020
1 parent 1b40894 commit 1ee11cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/sarl-maven-plugin.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</parent>

<artifactId>sarl-maven-plugin.tests</artifactId>
<name>Tests for the SARL Compiler Plugin</name>
<name>Tests for the SARL Compiler Maven Plugin</name>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ public void compile() throws Exception {
"import io.sarl.lang.annotation.SarlSpecification;",
"import io.sarl.lang.annotation.SyntheticMember;",
"import io.sarl.lang.core.Agent;",
"import io.sarl.lang.core.AtomicSkillReference;",
"import io.sarl.lang.core.BuiltinCapacitiesProvider;",
"import io.sarl.lang.core.DynamicSkillProvider;",
"import io.sarl.lang.core.Skill;",
"import io.sarl.lang.util.AtomicClearableReference;",
"import io.sarl.maven.compiler.tests.Hello;",
"import java.util.Collection;",
"import java.util.UUID;",
Expand All @@ -88,7 +87,7 @@ public void compile() throws Exception {
"@Extension",
"@ImportedCapacityFeature(DefaultContextInteractions.class)",
"@SyntheticMember",
"private transient AtomicClearableReference<Skill> $CAPACITY_USE$IO_SARL_CORE_DEFAULTCONTEXTINTERACTIONS;",
"private transient AtomicSkillReference $CAPACITY_USE$IO_SARL_CORE_DEFAULTCONTEXTINTERACTIONS;",
"@SyntheticMember",
"@Pure",
"private DefaultContextInteractions $CAPACITY_USE$IO_SARL_CORE_DEFAULTCONTEXTINTERACTIONS$CALLER() {",
Expand All @@ -100,7 +99,7 @@ public void compile() throws Exception {
"@Extension",
"@ImportedCapacityFeature(Schedules.class)",
"@SyntheticMember",
"private transient AtomicClearableReference<Skill> $CAPACITY_USE$IO_SARL_CORE_SCHEDULES;",
"private transient AtomicSkillReference $CAPACITY_USE$IO_SARL_CORE_SCHEDULES;",
"@SyntheticMember",
"@Pure",
"private Schedules $CAPACITY_USE$IO_SARL_CORE_SCHEDULES$CALLER() {",
Expand Down

0 comments on commit 1ee11cb

Please sign in to comment.